package net.learn.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import net.learn.framework.common.page.PageResult;
import net.learn.framework.common.service.BaseService;
import net.learn.system.entity.SysMyPaperEntity;
import net.learn.system.query.SysMyPaperQuery;
import net.learn.system.vo.SysMyPaperVO;

import java.util.List;

/**
 * @author 李立志
 * @since 2022-04-01
 */
public interface SysMyPaperService extends BaseService<SysMyPaperEntity> {
    String addMyPaper(SysMyPaperVO vo);

    Boolean updateMyPaper(SysMyPaperVO vo);

    void delete(List<Long> idList);

    List<SysMyPaperVO> qryMyPaperQuestionList(SysMyPaperQuery qry);

    PageResult<SysMyPaperVO> qryMyPaperCondition(SysMyPaperQuery qry);

    PageResult<SysMyPaperVO> qryMyPaperListPage(SysMyPaperQuery qry);

    PageResult<SysMyPaperVO> qryMyPaperGroup(SysMyPaperQuery qry);

    PageResult<SysMyPaperVO> qryMyPaperView(SysMyPaperQuery qry);
}
